package com.cn.service.server.Equipment;

import com.cn.bean.dto.EquipmentoperationDto;
import com.cn.bean.pojo.PartsManagement.EquipmentBasicInfoTable;
import com.cn.bean.pojo.PartsManagement.EquipmentDisassemblySubTable;
import com.cn.bean.pojo.PartsManagement.EquipmentInstallationMainTable;
import com.cn.bean.pojo.PartsManagement.EquipmentInstallationSubTable;
import com.cn.bean.pojo.lbj.ComponentBasicInformationTable;
import com.cn.bean.pojo.lbj.ComponentSingleRegistrationTable;
import com.cn.bean.pojo.lbj.EquipmentCurrentComponentSingleCompositionTable;
import com.cn.bean.vo.Equipment.ComponentBasicInformation;

import java.util.List;

public interface EquipmentoperationService {
    List<EquipmentInstallationMainTable> selectEquipmentoperation(EquipmentInstallationMainTable equipmentInstallationMainTable);
    List<EquipmentoperationDto>selectEquipmentInstallationSubTable(int id);
    List<EquipmentoperationDto>selectEquipmentDisassemblySubTable(int id);
    List<EquipmentBasicInfoTable>selectEquipmentBasicInfoTable(EquipmentBasicInfoTable equipmentBasicInfoTable);
    List<ComponentBasicInformationTable>selectComponentBasicInformation(ComponentBasicInformationTable componentBasicInformation);
    List<EquipmentoperationDto>selectInstallationSubTable(int id);
    List<EquipmentoperationDto>selectDisassemblySubTable(int id);
    List<EquipmentCurrentComponentSingleCompositionTable>selectEquipment(String uniqueCode);
    int insertEquipmentInstallationMain(EquipmentInstallationMainTable equipmentInstallationMainTable);
    int insertEquipmentInstallationSub(EquipmentInstallationSubTable equipmentInstallationSubTable);
    int insertEquipmentDisassemblySubTable(EquipmentDisassemblySubTable equipmentDisassemblySubTable);
    int updateEquipmentInstallationMain(EquipmentInstallationMainTable equipmentInstallationMainTable);
    int delEquipmentInstallationSub(int id);
    int delEquipmentDisassemblySub(int id);
    int updateAudit(int id);
    Integer getMainAutoid();
    Integer getEquipmentInstallationSubAutoid();
    Integer getEquipmentDisassemblyAutoid();
    int delMain(int id);
    int delSubTable(int id);
    int delDisassemblySubTable(int id);
    int insertCurrentComponent(EquipmentCurrentComponentSingleCompositionTable compositionTable);
    int delCurrentComponent(EquipmentCurrentComponentSingleCompositionTable compositionTable);
    int updateComponentStatus(ComponentSingleRegistrationTable componentSingle);
    int completeWorkOrde(int workOrderNumber);
}
